Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default_label_name to JSON output of buf registry module info #3387

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

doriable
Copy link
Member

@doriable doriable commented Oct 7, 2024

This adds information for the default label name of a module
to the JSON output of buf registry module info. The text output
remains unchanged.

$ buf registry module info buf.build/bufbuild/registry
Name                         Create Time
buf.build/bufbuild/registry  2023-10-27T20:23:20Z

$ buf registry module info buf.build/bufbuild/registry --format json | jq .
{
  "id": "11bdb5abfb544d54b2a3b7a354a07112",
  "remote": "buf.build",
  "owner": "bufbuild",
  "name": "registry",
  "create_time": "2023-10-27T20:23:20.396779Z",
  "state": "MODULE_STATE_ACTIVE",
  "default_label_name": "main"
}

@doriable doriable requested a review from bufdev October 7, 2024 18:30
Copy link
Contributor

github-actions bot commented Oct 7, 2024

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 7, 2024, 6:33 PM

@doriable doriable merged commit 84bb6b5 into main Oct 7, 2024
10 checks passed
@doriable doriable deleted the add-default-label-name-to-module-info branch October 7, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants